package com.sunshine.spring.sayhello;

/**
 * 简单的spring上手
 *
 * @Author: WeiHong
 * @Date: 2017/3/16 9:23
 */
public class SayHello {

    private String name;

    public void printHello(){
        System.out.println("Hello, My name is " + name);
    }

    public void setName(String name) {
        this.name = name;
    }
}
